<template>
<div class="card-list">
  <card-info :card="card" v-for="card in cards"
             :key="card.id"
             ></card-info>
</div>
</template>

<script>
import CardInfo from '@/components/CardInfo'
export default {
  name: 'CardList',
  components: { CardInfo },
  props: ['cards']
}
</script>

<style>
</style>
